package com.weng.cloud.service8881.hystrix;

import com.cloud.api.hystrix.HystrixService;
import com.cloud.api.hystrix.NbaPlayer;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @Author: weng
 * @Date: 2022/3/11
 * @Description: com.weng.cloud.service8881.hystrix
 */
@FeignClient(name = "weng-cloud-service-8883",fallback = HystrixFallBack.class)
public interface HystrixServiceImpl
    extends HystrixService
{

//    @PostMapping("/testDependency/{arg}")
//    NbaPlayer testDependency(@PathVariable String arg);
}
